package com.oreilly.headfirst.designpatterns.strategy;


public class MallardDuck extends Duck {

	public MallardDuck(){
		super.flyBehavior = new FlyWithWings();
		super.quackBehavior = new Quack();
	}

	public void display() {
		System.out.println("I'm a real mallard duck!");
	}

}
